//
//  IHomePageData.swift
//  Domain
//
//  Created by raymond Peng on 2018/11/9.
//  Copyright © 2018 raymond Peng. All rights reserved.
//

import Foundation

public protocol IShoppingData {
    func fetchShoppingData(completion: @escaping (IShoppingDataListEntity?, CommonError?) -> Void)

    func getCategoryList() -> [ICategoryEntity]

    func getProductArrayBy(categoryID: String) -> [IProductEntity]

    func getProductBy(productID: String) -> IProductEntity?

    func getSKUArrayBy(productID: String) -> [ISKUEntity]
}
